package com.ag.lzw.dao;

import java.util.List;

import com.ag.dao.TbOverRequestDAO;

public class LzwTbOverRequestDAO extends TbOverRequestDAO {

	public List findNewReqByaskId(String id){
		String hql = "from TbOverRequest as tor " +
		             "left join fetch tor.tbTask "+
				     "where tor.tbOverStatus='1000' and tor.tbTask.TId='"+id+"'";
		return getHibernateTemplate().find(hql);
	}
}
